package com.fmjr;

import com.fmjr.common.util.AppConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ImportResource;
import org.springframework.scheduling.annotation.EnableAsync;

@EnableAsync
//@EnableScheduling
@ServletComponentScan
@ImportResource(locations = { "classpath:druid-bean.xml" })
@SpringBootApplication
@EnableConfigurationProperties({AppConfig.class})
public class APP {

	public static void main(String[] args) {
		SpringApplication.run(APP.class, args);
	}
}
